
using System.Drawing;

namespace CosyTrade.UI
{
    public abstract class MenuItemBase : IMenuItem
    {
        private IMenuItem parent;
        private string menuId;
        private string caption;
        private int orderIndex;
        private bool enable;
        private bool visible;
        private Image icon;
        private object tag;

        public IMenuItem Parent
        {
            get { return parent; }
            set { parent = value; }
        }

        public string MenuId
        {
            get { return menuId; }
            set { menuId = value; }
        }

        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }

        public int OrderIndex
        {
            get { return orderIndex; }
            set { orderIndex = value; }
        }
        
        public bool Enable
        {
            get { return enable; }
            set { enable = value; }
        }

        public bool Visible
        {
            get { return visible; }
            set { visible = value; }
        }

        public Image Icon
        {
            get { return icon; }
            set { icon = value; }
        }

        public object Tag
        {
            get { return tag; }
            set { tag = value; }
        }
    }
}